<template>
    <el-row :gutter="10">
        <el-col :span="6">
            <el-card>
                <Detail title="总销售额" count="￥ 126560">
                    <template #charts>
                        <span>周同比</span>
                        <span>
                            56.67%
                            <svg
                                t="1683802893956"
                                class="icon"
                                viewBox="0 0 1024 1024"
                                version="1.1"
                                xmlns="http://www.w3.org/2000/svg"
                                p-id="4550"
                                width="10"
                                height="10"
                            >
                                <path
                                    d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"
                                    fill="#1afa29"
                                    p-id="4551"
                                ></path>
                            </svg>
                        </span>
                        <span>日同比</span>
                        <span>
                            19.16%
                            <svg
                                t="1683803032062"
                                class="icon"
                                viewBox="0 0 1024 1024"
                                version="1.1"
                                xmlns="http://www.w3.org/2000/svg"
                                p-id="5619"
                                width="10"
                                height="10"
                            >
                                <path
                                    d="M64 320l448 448 448-448z"
                                    fill="#d81e06"
                                    p-id="5620"
                                ></path>
                            </svg>
                        </span>
                    </template>
                    <template #footer>
                        <span>日销售额￥ 124123</span>
                    </template>
                </Detail>
            </el-card>
        </el-col>
        <el-col :span="6">
            <el-card>
                <Detail title="访问量" count="88460">
                    <template #charts>
                        <LineChart></LineChart>
                    </template>
                    <template #footer>
                        <span>日销售额￥ 124123</span>
                    </template>
                </Detail>
            </el-card>
        </el-col>
        <el-col :span="6">
            <el-card>
                <Detail title="支付笔数" count="88460">
                    <template #charts>
                        <BarCharts></BarCharts>
                    </template>
                    <template #footer>
                        <span>转化率 65%</span>
                    </template>
                </Detail>
            </el-card>
        </el-col>
        <el-col :span="6">
            <el-card>
                <Detail title="运营活动效果" count="78%">
                    <template #charts>
                        <ProcessChart></ProcessChart>
                    </template>
                    <template #footer>
                        <span>周同比</span>
                        <span>
                            56.67%
                            <svg
                                t="1683802893956"
                                class="icon"
                                viewBox="0 0 1024 1024"
                                version="1.1"
                                xmlns="http://www.w3.org/2000/svg"
                                p-id="4550"
                                width="10"
                                height="10"
                            >
                                <path
                                    d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"
                                    fill="#1afa29"
                                    p-id="4551"
                                ></path>
                            </svg>
                        </span>
                        <span>日同比</span>
                        <span>
                            19.16%
                            <svg
                                t="1683803032062"
                                class="icon"
                                viewBox="0 0 1024 1024"
                                version="1.1"
                                xmlns="http://www.w3.org/2000/svg"
                                p-id="5619"
                                width="10"
                                height="10"
                            >
                                <path
                                    d="M64 320l448 448 448-448z"
                                    fill="#d81e06"
                                    p-id="5620"
                                ></path>
                            </svg>
                        </span>
                    </template>
                </Detail>
            </el-card>
        </el-col>
    </el-row>
</template>

<script>
import Detail from "./Detail"
import LineChart from "./LineChart"
import BarCharts from "./BarCharts"
import ProcessChart from "./ProcessChart"
export default {
    name: "Card",
    components: {
        Detail,
        LineChart,
        BarCharts,
        ProcessChart,
    },
}
</script>

<style>
</style>